Chun-Yu's TouchWah Effect (2nd Release)

The TouchWah effect changes the resonance and cutoff of the input.  The cutoff is adjusted based on the root mean square (RMS) of the input.  The input is sliced into little "windows", the RMS of the "window" is calculated, and the cutoff is adjusted accordingly.  Basically, the louder the input, the higher the cutoff.  The number of times per second to calculate the RMS is adjustable. This effect attempts to model the TouchWah effect of high-end Yamaha synthesizers.  Since I don't have a high-end Yamaha synth (yet), I had to sort of guess (I've heard samples of the real TouchWah effect).

The ScaleFactor parameter is the number that the input is divided by (Example: input sample value-16384 value processed-8192).  Use this value to prevent clipping, since the Wah effect makes the input louder.

If you find any problems with this plugins (Example: it crashes Buzz), e-mail me at cshei@indiana.edu.  If you use this plugin in your music, I would love to hear it.  E-mail the Buzz song as an attachment, or e-mail me telling me where I can download an MP3 of it.

Fixed Problems Since Last Release:

1.  Having no input doesn't screw it up anymore (I forgot to handle the different input modes an effect machine need to handle).
2.  I found out that Buzz crashing on exit wasn't my machine's fault.  I thought it was, but I found out that even without my machine Buzz sometimes crashed on exit.  Must a problem with the beta.